package com.laicunba.ext.web.controller.h5.activity;

import java.util.Date;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.laicunba.ext.web.annotation.ResponseCache;
import com.laicunba.ext.web.controller.BaseController;

@ResponseCache(time = 10)
@Controller
@RequestMapping(value = "/h5/ext/activity")
public class TestCacheController extends BaseController {

	@RequestMapping(value = "/test_cache.htm")
	public ModelAndView testCache() {
		ModelAndView view = new ModelAndView();
		view.setViewName("test_cache.jsp");
		view.addObject("date", new Date());
		return view;
	}
}
